package com.ruoyi.web.exams.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 试卷题目关联对象 exam_pager_questions
 *
 * @author 范书铭
 * @date 2024-10-02
 */
@ApiModel(value =  "试卷题目关联",description = "")
@TableName(resultMap = "com.ruoyi.web.exams.mapper.ExamPagerQuestionsMapper.ExamPagerQuestionsResult")
@Data
@EqualsAndHashCode(callSuper = true)
public class ExamPagerQuestions extends BaseEntity{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    /** 题目包ID */
    private Long packageId;

    /** 题目ID */
    private Long questionId;

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("packageId", getPackageId())
                .append("questionId", getQuestionId())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .toString();
    }
}